ghc: use available bootstrap binaries on aarch64-musl#451420
ghc: use available bootstrap binaries on aarch64-musl#451420yuyuyureka wants to merge 1 commit intoNixOS:masterfrom
Conversation
| if stdenv.buildPlatform.isAarch64 && stdenv.buildPlatform.isMusl then | ||
| bb.packages.ghc984Binary | ||
| else if stdenv.buildPlatform.isDarwin then |
There was a problem hiding this comment.
Fair. I built pkgsMusl.pandoc for testing, which seems to use 9.10.3.
I would argue that this would be handled correctly by marking 9.10.1 as broken when bootPkgs.ghc is 9.8.4.
I was not aware of #444249. It indeed seems nicer, however my lack of Haskell experience makes it difficult to judge how likely it is to get merged soon. I would like to restore the pkgsMusl.ghc build again, which was originally made possible in #395724.
There was a problem hiding this comment.
The other PR is merged into staging. If you're OK with waiting for that, that should be enough. If you'd rather want to fix this on master in the meantime as well, we can do this PR as well.
There was a problem hiding this comment.
I can wait for staging :)
Prior work: #395724
This is the same fallback to ghc-bin 9.8.x instead of ghc-bin 9.6.x (which isn't available for aarch64-musl) as bootPkgs, but when building 9.10.x.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.